package com.blazer.c;

public class methodsdemo3 {
    public static void main(String[] args) {
       int sum= methods();
        System.out.println(sum);
    }
    public static int methods(){
        int sum=0;
        for (int i=1;i<=100;i++){
            sum+=i;
        }
        return sum;
    }
}
